package ua.amsoft.brelok.dto;

import java.util.Date;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

/**
 * @author Tair Mustafaiev
 */
@Root(name = "GetCardHistoryResult")
public class CardHistoryReport {
    
    @Element(name = "id")
    private int id;
    
    @Element(name = "index_number")
    private int indexNumber;
    
    @Element(name = "event_type")
    private String eventType;
    
    @Element(name = "official_id")
    private int officialId;
    
    @Element(name = "executive_id")
    private int executiveId;
    
    @Element(name = "card_id")
    private int cardId;
    
    @Element(name = "occurred")
    private Date occurred;
    
    @Element(name = "comments")
    private String comments;
    
    @Element(name = "registration_date")
    private Date registrationDate;
    
    /**
     * @return the id
     */
    public int getId() {
        return this.id;
    }
    
    /**
     * @param idNumber the id to set
     */
    public void setId(final int idNumber) {
        this.id = idNumber;
    }
    
    /**
     * @return the indexNumber
     */
    public int getIndexNumber() {
        return this.indexNumber;
    }
    
    /**
     * @param idNumber the indexNumber to set
     */
    public void setIndexNumber(final int idNumber) {
        this.indexNumber = idNumber;
    }
    
    /**
     * @return the eventType
     */
    public String getEventType() {
        return this.eventType;
    }
    
    /**
     * @param eType the eventType to set
     */
    public void setEventType(final String eType) {
        this.eventType = eType;
    }
    
    /**
     * @return the officialId
     */
    public int getOfficialId() {
        return this.officialId;
    }
    
    /**
     * @param officialIdNumber the officialId to set
     */
    public void setOfficialId(final int officialIdNumber) {
        this.officialId = officialIdNumber;
    }
    
    /**
     * @return the executiveId
     */
    public int getExecutiveId() {
        return this.executiveId;
    }
    
    /**
     * @param executiveIdNumber the executiveId to set
     */
    public void setExecutiveId(final int executiveIdNumber) {
        this.executiveId = executiveIdNumber;
    }
    
    /**
     * @return the cardId
     */
    public int getCardId() {
        return this.cardId;
    }
    
    /**
     * @param cardIdNumber the cardId to set
     */
    public void setCardId(final int cardIdNumber) {
        this.cardId = cardIdNumber;
    }
    
    /**
     * @return the occurred
     */
    public Date getOccurred() {
        return this.occurred;
    }
    
    /**
     * @param occurredDate the occurred to set
     */
    public void setOccurred(final Date occurredDate) {
        this.occurred = occurredDate;
    }
    
    /**
     * @return the comments
     */
    public String getComments() {
        return this.comments;
    }
    
    /**
     * @param commentsText the comments to set
     */
    public void setComments(final String commentsText) {
        this.comments = commentsText;
    }
    
    /**
     * @return the registrationDate
     */
    public Date getRegistrationDate() {
        return this.registrationDate;
    }
    
    /**
     * @param registrationDateVal the registrationDate to set
     */
    public void setRegistrationDate(final Date registrationDateVal) {
        this.registrationDate = registrationDateVal;
    }
    
}
